package javapop.framework;

public interface ParseResult<T> {
	public boolean checkType();
	public void checkTypeWithExplanations() throws TypeError;	
	public ParsePosition getStart();
	public void setStart(ParsePosition start);
	public ParsePosition getEnd();
	public void setEnd(ParsePosition end);
	public T getResult();
	public boolean isError();
	public ParseError asError();
	public boolean isNull();
	public String getInputString(ParseInput input);
	public String getErrorMessage();
	public String getDetailedErrorMessage();
}
